import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')


// 响应时间
axios.defaults.timeout = 3000
axios.defaults.baseURL = 'http://localhost:8080'
Object.defineProperty(Vue.prototype,'$http',{
  value: axios
})